import {get, post} from '@/utils/http'
import {SearchData} from '@/models/home/video'
export const getBroadList = (data: SearchData) => {
    return post('/api/live/pageQueryLives', data)
}

export const getSelectPeopleInfo = (data?: any) => {
    return post('/api/avatar/queryWorksInfo', data)
}

export const saveVideo = (data?: any) => {
    return post('/api/live/saveLive', data)
}

export const getLiveVideoById = (data?: any) => {
    return post('/api/live/queryLiveDetail', data)
}